# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=dnsenum
pkgver=1.3.2
pkgrel=0
pkgdesc="Tool to enumerate DNS info about domains"
url="https://github.com/SparrowOchon/dnsenum2"
arch="noarch"
license="GPL-2.0-or-later"
depends="
	perl-net-dns perl-net-ip perl-net-netmask
	perl-string-random perl-xml-writer
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/SparrowOchon/dnsenum2/archive/v$pkgver.tar.gz"
builddir="$srcdir/${pkgname}2-$pkgver"
options="!check" # no tests provided

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" INSTALL_DEPS=0 install
}

sha512sums="
47915d3a61223898aa50b7d96993ac6dce26027e1ab6ed4f373d7e4df7e293583657f0c030fde00f6ec34e04a0d83a505abbcb0dbbf4db27cb29676cb3979156  dnsenum-1.3.2.tar.gz
"
